/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.dataaccess;

import cassys.datatransferobjects.AssessmentDTO;
import cassys.datatransferobjects.AssessmentItemsDTO;
import java.util.ArrayList;

/**
 *
 * @author Priyanka
 */
public interface AssessmentDAO {    
    public void insertAssessment(AssessmentDTO dto);    
    public void updateAssessment(AssessmentDTO dto);    
    public void deleteAssessment(AssessmentDTO dto);   
    public AssessmentDTO findAssessment (String assessmentId);
    public ArrayList<AssessmentDTO> findAllAssessment ();
    public ArrayList<AssessmentDTO> findAllAssessmentById(String assessmentId);
    
    public AssessmentDTO[] getAllAssessmentByModule(String moduleCode);
    public void insertAssessmentItem(AssessmentItemsDTO dto);    
    public void deleteAssessmentItem(String assessmentItemId);    
    public void updateAssessmentItem(AssessmentItemsDTO dto);
      
    public AssessmentItemsDTO findAssessmentItems (String assessmentItemId);
    public ArrayList<AssessmentItemsDTO> findAllAssessmentItems ();
}
